package com.example.qfsx;

public class Product {
    private final String title;
    private final double price;
    private final String imageUrl; // 这里是图片的URL

    public Product(String title, double price, String imageUrl) {
        this.title = title;
        this.price = price;
        this.imageUrl = imageUrl;
    }

    public String getTitle() {
        return title;
    }

    public double getPrice() {
        return price;
    }

    public String getImageUrl() {
        return imageUrl;
    }
}